package com.warmheart.entity.user;

import com.warmheart.base.entity.BaseEntity;
import com.warmheart.builder.user.UserLoginCoBuilder;
import com.warmheart.builder.user.UserLoginRsBuilder;

/**
 * 
 * @ClassName: UserLogin
 * @Description: 用户登录实体类，对应表名称为tb_user_login
 *               温馨提示：不要修改该实体类的任何字段
 * @author ZhangJianyang
 * @date 2025-06-16 09:37:02
 *
 */
public class UserLogin extends BaseEntity<UserLoginCoBuilder, UserLoginRsBuilder> {

	private static final long serialVersionUID = 1L;
	
	/**
     * 
     * @Title: tableName
     * @Description: 表名称
     * @author ZhangJianyang
     * @return
     */
    @Override
    public String tableName() {
        return "tb_user_login";
    }

    public UserLoginCoBuilder coBuilder() {
        return new UserLoginCoBuilder(this);
    }
    
    public UserLoginRsBuilder rsBuilder() {
        return new UserLoginRsBuilder(this);
    }
	
    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 客户端类型(01~~~运维端02~~~WEB端03~~~APP端04~~~小程序端)
     */
    private String clientType;
    
    /**
     * 登录类型(01~~~手机号码+验证码02~~~用户名+密码03~~~邮箱+验证码04~~~邮箱+密码)
     */
    private String loginType;

    /**
     * 登录名
     */
    private String loginName;

    /**
     * 密码
     */
    private String passWd;

    /**
     * 盐值
     */
    private String salt;

    /**
     * 状态
     */
    private String status;

    /**
     * 
     * @Title: getUserId
     * @Description: 用户IDgetter方法
     * @author ZhangJianyang
     * @return
     */
    public Integer getUserId(){
        return userId;
    }
    
    /**
     * 
     * @Title: setUserId
     * @Description: 用户IDsetter方法
     * @author ZhangJianyang
     * @param userId
     */
    public void setUserId(Integer userId){
        this.userId = userId;
    }
    
    /**
     * 
     * @Title: getClientType
     * @Description: 客户端类型(01~~~运维端02~~~WEB端03~~~APP端04~~~小程序端)getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getClientType(){
        return clientType;
    }
    
    /**
     * 
     * @Title: setClientType
     * @Description: 客户端类型(01~~~运维端02~~~WEB端03~~~APP端04~~~小程序端)setter方法
     * @author ZhangJianyang
     * @param clientType
     */
    public void setClientType(String clientType){
        this.clientType = clientType;
    }

    /**
     * 
     * @Title: getLoginType
     * @Description: 登录类型(01~~~手机号码+验证码02~~~用户名+密码03~~~邮箱+验证码04~~~邮箱+密码)getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getLoginType(){
        return loginType;
    }
    
    /**
     * 
     * @Title: setLoginType
     * @Description: 登录类型(01~~~手机号码+验证码02~~~用户名+密码03~~~邮箱+验证码04~~~邮箱+密码)setter方法
     * @author ZhangJianyang
     * @param loginType
     */
    public void setLoginType(String loginType){
        this.loginType = loginType;
    }

    /**
     * 
     * @Title: getLoginName
     * @Description: 登录名getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getLoginName(){
        return loginName;
    }
    
    /**
     * 
     * @Title: setLoginName
     * @Description: 登录名setter方法
     * @author ZhangJianyang
     * @param loginName
     */
    public void setLoginName(String loginName){
        this.loginName = loginName;
    }

    /**
     * 
     * @Title: getPassWd
     * @Description: 密码getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getPassWd(){
        return passWd;
    }
    
    /**
     * 
     * @Title: setPassWd
     * @Description: 密码setter方法
     * @author ZhangJianyang
     * @param passWd
     */
    public void setPassWd(String passWd){
        this.passWd = passWd;
    }

    /**
     * 
     * @Title: getSalt
     * @Description: 盐值getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getSalt(){
        return salt;
    }
    
    /**
     * 
     * @Title: setSalt
     * @Description: 盐值setter方法
     * @author ZhangJianyang
     * @param salt
     */
    public void setSalt(String salt){
        this.salt = salt;
    }

    /**
     * 
     * @Title: getStatus
     * @Description: 状态getter方法
     * @author ZhangJianyang
     * @return
     */
    public String getStatus(){
        return status;
    }
    
    /**
     * 
     * @Title: setStatus
     * @Description: 状态setter方法
     * @author ZhangJianyang
     * @param status
     */
    public void setStatus(String status){
        this.status = status;
    }
}
